package com.zbkj.common.response;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 小区分红统计详情响应对象
 * </p>
 *
 * @author Caiyc
 * @since 2025-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CommunityStatDetailResponse对象", description="小区分红统计详情响应对象")
public class CommunityStatDetailResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "所在小区")
    private String community;

    @ApiModelProperty(value = "品牌商ID（对应SystemAdmin表ID）")
    private Integer brandId;

    @ApiModelProperty(value = "营业额")
    private BigDecimal businessAmount;

    @ApiModelProperty(value = "订单数")
    private Integer orderNum;

    @ApiModelProperty(value = "利润%")
    private BigDecimal profitScale;

    @ApiModelProperty(value = "利润金额")
    private BigDecimal profit;

    @ApiModelProperty(value = "分红发放时间")
    private Date settlementTime;

    @ApiModelProperty(value = "是否已发放")
    private Boolean isSettlement;

    @ApiModelProperty(value = "统计周期(0:天，1：周，2：月，99：选择时间)")
    private Integer cycle;

    @ApiModelProperty(value = "周期开始时间")
    private Date startTime;

    @ApiModelProperty(value = "周期结束时间")
    private Date endTime;

    @ApiModelProperty(value = "是否删除 状态（0：否，1：是）")
    private Integer isDel;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
